package com.mangosteen.interviewji.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mangosteen.interviewji.model.entity.User;
import com.mangosteen.interviewji.model.entity.UserQuestion;
import com.mangosteen.interviewji.model.vo.QuestionVO;

import javax.servlet.http.HttpServletRequest;

/**
* @author ASUS
* @description 针对表【user_question(用户答题记录)】的数据库操作Service
* @createDate 2025-11-07 17:06:41
*/
public interface UserQuestionService extends IService<UserQuestion> {

    UserQuestion submit(String userAnswer, Long questionId,User loginUser);

    Page<QuestionVO> getUserRecordHistory(Long current, Long size, Long id, HttpServletRequest request);

}
